package com.github.caiqy.shirodemo.db.mapper;

import com.github.caiqy.shirodemo.core.Mapper;
import com.github.caiqy.shirodemo.db.mapping.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper extends Mapper<Role> {
    List<Role> selectRoleByUserId(@Param("userId") Integer userId);
}